<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <script src="jquery-1.11.3.min.js"></script>
 </head>
 <body>
   <h1>aaa</h1>
   <h1>bbb</h1>
   <h1>ccc</h1>
   <h1>ddd</h1>
   <h1>eee</h1>
 </body>
 <script>
     //$('h1:first').css({'color':'red'});
	// $('h1:last').css({'color':'red'});
	//$('h1:not(:first)').css({'color':'red'});
	//$('h1:even').css({'color':'red'});
	//$('h1:odd').css({'color':'blue'});
	//$('h1:eq(1)').css({'color':'red'});
	//$('h1:gt(3)').css({'color':'red'});
	$('h1:lt(3)').css({'color':'red'});
 </script>
</html>
